package com.ruoyi.manage.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 面试预约对象 cr_interview_appointment
 */
public class CrInterviewAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约ID */
    private Long appointmentId;

    /** 申请ID */
    @Excel(name = "申请ID")
    private Long applicationId;

    /** 时间段ID */
    @Excel(name = "时间段ID")
    private Long slotId;

    /** 学生用户ID */
    @Excel(name = "学生用户ID")
    private Long userId;

    /** 社团ID */
    @Excel(name = "社团ID")
    private Long clubId;

    /** 面试类型（1线下 2线上） */
    @Excel(name = "面试类型", readConverterExp = "1=线下,2=线上")
    private String interviewType;

    /** 线上面试链接 */
    @Excel(name = "线上面试链接")
    private String interviewLink;

    /** 预约状态（0待面试 1进行中 2已完成 3已取消） */
    @Excel(name = "预约状态", readConverterExp = "0=待面试,1=进行中,2=已完成,3=已取消")
    private String status;

    /** 实际开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualStartTime;

    /** 实际结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualEndTime;

    /** 面试评分 */
    @Excel(name = "面试评分")
    private BigDecimal score;

    /** 面试评价 */
    @Excel(name = "面试评价")
    private String evaluation;

    /** 学生反馈 */
    @Excel(name = "学生反馈")
    private String studentFeedback;

    // 关联查询字段
    /** 面试日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date interviewDate;

    /** 开始时间 */
    private String startTime;

    /** 结束时间 */
    private String endTime;

    /** 面试地点 */
    private String location;

    /** 面试官 */
    private String interviewer;

    /** 学生姓名 */
    private String studentName;

    /** 学号 */
    private String studentNo;

    /** 社团名称 */
    private String clubName;

    /** 招聘标题 */
    private String recruitmentTitle;

    /** 岗位名称 */
    private String positionName;

    public void setAppointmentId(Long appointmentId)
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId()
    {
        return appointmentId;
    }

    public void setApplicationId(Long applicationId)
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId()
    {
        return applicationId;
    }

    public void setSlotId(Long slotId)
    {
        this.slotId = slotId;
    }

    public Long getSlotId()
    {
        return slotId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setClubId(Long clubId)
    {
        this.clubId = clubId;
    }

    public Long getClubId()
    {
        return clubId;
    }

    public void setInterviewType(String interviewType)
    {
        this.interviewType = interviewType;
    }

    public String getInterviewType()
    {
        return interviewType;
    }

    public void setInterviewLink(String interviewLink)
    {
        this.interviewLink = interviewLink;
    }

    public String getInterviewLink()
    {
        return interviewLink;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setActualStartTime(Date actualStartTime)
    {
        this.actualStartTime = actualStartTime;
    }

    public Date getActualStartTime()
    {
        return actualStartTime;
    }

    public void setActualEndTime(Date actualEndTime)
    {
        this.actualEndTime = actualEndTime;
    }

    public Date getActualEndTime()
    {
        return actualEndTime;
    }

    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }

    public void setEvaluation(String evaluation)
    {
        this.evaluation = evaluation;
    }

    public String getEvaluation()
    {
        return evaluation;
    }

    public void setStudentFeedback(String studentFeedback)
    {
        this.studentFeedback = studentFeedback;
    }

    public String getStudentFeedback()
    {
        return studentFeedback;
    }

    public Date getInterviewDate()
    {
        return interviewDate;
    }

    public void setInterviewDate(Date interviewDate)
    {
        this.interviewDate = interviewDate;
    }

    public String getStartTime()
    {
        return startTime;
    }

    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getEndTime()
    {
        return endTime;
    }

    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getInterviewer()
    {
        return interviewer;
    }

    public void setInterviewer(String interviewer)
    {
        this.interviewer = interviewer;
    }

    public String getStudentName()
    {
        return studentName;
    }

    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentNo()
    {
        return studentNo;
    }

    public void setStudentNo(String studentNo)
    {
        this.studentNo = studentNo;
    }

    public String getClubName()
    {
        return clubName;
    }

    public void setClubName(String clubName)
    {
        this.clubName = clubName;
    }

    public String getRecruitmentTitle()
    {
        return recruitmentTitle;
    }

    public void setRecruitmentTitle(String recruitmentTitle)
    {
        this.recruitmentTitle = recruitmentTitle;
    }

    public String getPositionName()
    {
        return positionName;
    }

    public void setPositionName(String positionName)
    {
        this.positionName = positionName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("appointmentId", getAppointmentId())
            .append("applicationId", getApplicationId())
            .append("slotId", getSlotId())
            .append("userId", getUserId())
            .append("clubId", getClubId())
            .append("interviewType", getInterviewType())
            .append("interviewLink", getInterviewLink())
            .append("status", getStatus())
            .append("actualStartTime", getActualStartTime())
            .append("actualEndTime", getActualEndTime())
            .append("score", getScore())
            .append("evaluation", getEvaluation())
            .append("studentFeedback", getStudentFeedback())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}